<?php
namespace App\Repository;

use App\Model\Product;

class ProductRepository extends \HyperfStore\Repository
{
    // 放入模型
    public function build()
    {
        return new Product;
    }
    
    // 删除商品
    public function delete()
    {
        return $this->model->delete();
    }
}